extends layout/pc.jade

block vars
  - var page = {}
  - page.title    = '图片上传中心'
  - page.desc     = '图片上传服务器，包含图片剪切、缩略图、内切圆等功能'
  - page.keywords = 'index'
  - page.author   = '吴建涛(fortomorrow@163.com)'
  - page.name     = 'index'

block main
  h1 多图上传
  form#J_upload(action="../server/mullti-upload.php",
                enctype="multipart/form-data",
                method="post")
    input.J_images(type="file",
                    name="image[]",
                    accept="image/*"
                    multiple=true)
    input(type="submit",value="上传")

  h1 单图上传
  form#J_singleUpload(action="../server/single-upload.php",
                enctype="multipart/form-data",
                method="post")
    input.J_singleImage(type="file",
                    name="image",
                    accept="image/*")
    input(type="submit",value="上传")
